package com.dingding.gmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dingding.gmall.common.utils.PageUtils;
import com.dingding.gmall.product.entity.SkuInfoEntity;
import com.dingding.gmall.product.entity.SpuInfoEntity;
import com.dingding.gmall.product.vo.Skus;

import java.util.List;
import java.util.Map;

/**
 * sku信息
 *
 * @author liudingding
 * @email sunlightcs@gmail.com
 * @date 2020-07-02 21:58:29
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSkuInfos(SpuInfoEntity spuInfoEntity,  List<Skus> skus);

    PageUtils queryPageByCondition(Map<String, Object> params);

    List<SkuInfoEntity> getSkuInfoBySpuId(Long spuId);
}

